home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
basxrf.zip
/
BASICXR.DOC
next >
Wrap
Text File
|
1991-06-05
|
9KB
|
273 lines
BasicXR Cross Reference Utility
<c> 1991 JNGoodale
DOCUMENTATION
Files included: BASICXR.EXE Shareware version
BASICXR.DOC This file
BASICXRW.XXT Starter file for Custom Res Words
ORDER.DOC Order blank
README.TXT Brief documentation
BASICXRF.EXE Distributed with registered version
This document covers the following:
1. General description
2. Start-up
3. Printer control codes
4. Printing to a file
5. Forcing a page eject
6. Creating a file of Reserved Words
7. Requirements/Limitations
8. Error messages
9. Support
10. Registration
11. Shareware Concept
====================================================================
1. GENERAL DESCRIPTION
This program will cross reference a program written in Basic
and saved as an ASCII file. It will create any combination
of the following three options:
Formatted program listing
User label/line number cross reference
Reserved word cross reference
BASICXR.EXE is the un-registered version and displays a
registration reminder each time it is run.
BASICXRF.EXE is the registered version. Both programs function
identically, but the registration reminder is removed from the
registered version, and it is about 5K shorter. You receive
this version when you register.
Page 1 of 5
2. START-UP
To execute the program, simply enter BASICXR (or BASICXRF for
the registered version) followed optionally by "/ switches", as
described below:
BASICXR/M will force the program to assume monochrome
display. The program attempts to determine
the type of monitor you have, but if you
have a monochrome monitor and your prompt
messages are not clear, try the "/M" switch.
BASICXR/E will send printer control codes for Epson
compatible printers. See # 3 below.
BASICXR/D will send printer control codes for DeskJet
compatible printers. See # 3 below.
The "/M" switch can be used in conjunction with either of the
printer switches. Order and case are not important.
3. PRINTER CONTROL CODES
If you elect to print compressed pitch for either an Epson or
DeskJet compatible printer, start the program with the
appropriate switch (/E or /D). The program will send the
following printer control codes to your printer (or to the
output file, if you elect to output to a file for later printing):
/D (DeskJet) /E (Epson)
Reset CHR$(27);"E" CHR$(27);"@"
Compressed CHR$(27);"(s16.67H" CHR$(15)
Line width 110 characters 120 characters
Lines/page 54 54
In both cases the program resets the printer at the end.
If you do not execute the program with one of the switches, no
control codes are sent. Line width is 80, lines/page 54.
4. PRINTING TO A FILE
By entering "f" or "F" at the prompt you can direct the output
to a file for later printing. The name of the file created will
be the same base name as your input source file with an extension
of ".XRF". It will be written to the same path as the source.
Page 2 of 5
5. FORCING A PAGE EJECT
If you would like to force a page eject in the program listing,
simply insert a line with two single quotes as the only text on
the line - '' - NOT a double quote (").
The single quote is shorthand for REM, so the two single quotes
will not affect your program, but will trigger a page eject in
BasicXR.
6. CREATING A FILE OF RESERVED WORDS
BasicXR has a built in table of Microsoft QuickBasic 4.0 reserved
words. For another dialect of Basic you can create your own set
in a file that must be called "BASICXRW.TXT". This is simply a
text file of the reserved words. A starter (BASICXRW.XXT) is
supplied with this program which you can use to edit to create
your own list. It must be renamed to "BASICXRW.TXT" for it to
take effect.
If your programs are written in Microsoft QuickBasic 4.0 you do
not need this file.
Maximum size of BASICXRW.TXT is 400 entries.
Maximum record length for each entry is 16.
7. REQUIREMENTS/LIMITATIONS
Minimum requirements to run BasicXR are:
IBM compatible computer
Monochrome or color monitor
Printer (unless printing to a file)
DOS 2.11 or higher
256K
Programs to be cross-referenced must be saved in ASCII and have
the extension ".BAS".
The program assumes Microsoft Basic dialects. I do not guarantee
any other versions of Basic, although it might work.
It will work with either line numbers (as in GWBasic) or line
labels (as in QuickBasic), but not both within the same program
(which QuickBasic allows for, but BasicXR doesn't).
Customized Reserved Word file - Maximum 400 entries, Maximum
record length 16.
Page 3 of 5
The size of the program it can handle is based on how much main
memory you have (up to 640K) and how many references there are.
If it runs out of room for the reference table, the program
notifies you, marks the listing where referencing will stop, and
continues the listing, if that option is turned on.
The solution at this point would be to break the program into
several parts and then run each part thru BasicXR.
8. ERROR MESSAGES
The following error messages may occur:
Bad Path entered
No *.BAS files
No options entered. Ending
This is not an ASCII (text) file. Ending
Reached max of 400 Reserved Words .. ignoring excess
Label reference table exceeded
Except where "Ending" is stated, you are given the option to
[ESC] to quit or [ENTER] to try again.
9. SUPPORT
Registered owners will receive free support for three months
after registration by contacting me thru US mail, CompuServe or
phone at:
Jane N. Goodale
6851 Roswell Rd, Unit I-15
Atlanta GA 30328
(404)-392-0781
CIS PPN 71116,302
If you find a serious program bug, you will be sent a "fixed"
program free of charge.
Page 4 of 5
10. REGISTRATION
Registration is available for $15. You can fill out and print
the registration form within the program BASICXR.EXE or from
the order blank "ORDER.DOC".
If you distribute copies of this program, please distribute the
self extracting file "BASXRF.